package com.wedata.抖音;

import cn.hutool.core.date.DateUtil;
import cn.hutool.http.HttpUtil;
import cn.hutool.json.JSONArray;
import cn.hutool.json.JSONObject;
import com.alibaba.excel.EasyExcelFactory;
import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.event.AnalysisEventListener;
import com.wedata.HttpUtils;
import org.apache.commons.io.FileUtils;

import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.net.URLConnection;
import java.util.*;

public class 罗盘达人直播 {

    public static void main(String[] args) {
        //商品讲解明细();
        //全部商品("");
        //商品讲解列表("");
        //System.out.println(DateUtil.format(new Date(1749744000000L),"yyyy-MM-dd HH:mm:ss"));
        直播列表();
        //下载直播列表();
    }

    private static void 下载直播列表() {
        //String url = "https://compass.jinritemai.com/compass_api/content_live/author/live_detail/history_live_download?is_asc=false&page_no=1&page_size=10&date_type=21&begin_date=1750953600&begin_date_format=2025-06-27T00%3A00%3A00%2B08%3A00&index_selected=&_lid=318004148450&verifyFp=verify_mc0atnfs_eTyV01Xn_JJ3J_4BKc_Be35_w1wQ6wDnqa3k&fp=verify_mc0atnfs_eTyV01Xn_JJ3J_4BKc_Be35_w1wQ6wDnqa3k&msToken=aPJkOtDKUesxWdyHcA96v6IH2f_LaYfZQgD4YRm0aAXAq9C4iyFmytorb2YaAIgp7DqGXnSzRX9S88U-BjMcZucjKKjY11nPbtoJyqut11pmCySNwhwcsbI%3D&a_bogus=EX8hQR0hdDgkhfgX56KLfY3qIgl3Y0LU0cODMDZuBnvJu639HMTi9exYIpXvAUjjxG%2FZIejjy4hbY3%2F2rQC981wf7Wsx%2F2CZsg00t-P2somS53ineyUgrUwi-hsASePQsv1IEQfkqwArFuRDAo%2Frmhd4TgZCcHhMHjDISpcG2t8%3D";
        //String url = "https://compass.jinritemai.com/compass_api/content_live/author/live_detail/history_live_download?is_asc=false&date_type=21&begin_date=1750953600&begin_date_format=2025-06-27T00%3A00%3A00%2B08%3A00";
        String url ="https://compass.jinritemai.com/compass_api/content_live/author/live_detail/history_live_download?is_asc=false&page_no=1&page_size=10&date_type=24&begin_date=1743782400&begin_date_format=2025-04-05T00%3A00%3A00%2B08%3A00";

        InputStream inputStream = null;
        try{
            URL uri = new URL(url);
            URLConnection urlConnection = uri.openConnection();

            Map<String, String> header = getHeader();
            urlConnection.setRequestProperty("cookie",header.get("cookie"));

            inputStream = urlConnection.getInputStream();
            //File file = new File("E:\\抖音直播列表.xlsx");
            //FileUtils.copyInputStreamToFile(inputStream, file);
            List<CompassLiveExcel> compassLiveExcelList = new ArrayList<>();
            EasyExcelFactory.read(inputStream, CompassLiveExcel.class, new AnalysisEventListener<CompassLiveExcel>() {
                @Override
                public void invoke(CompassLiveExcel compassLiveExcel, AnalysisContext analysisContext) {
                    compassLiveExcelList.add(compassLiveExcel);
                }

                @Override
                public void doAfterAllAnalysed(AnalysisContext analysisContext) {
                    for (CompassLiveExcel compassLiveExcel : compassLiveExcelList) {
                        System.out.println(new JSONObject(compassLiveExcel));
                    }
                }
            }).sheet().doRead();

        }catch (Exception exception){
            System.out.println(exception.getMessage());
        }finally {
            try {
                inputStream.close();
            } catch (IOException e) {

            }
        }

    }

    //https://compass.jinritemai.com/talent/live-detail
    private static void 直播列表() {
        //直播（头部）》直播明细（菜单）
        //&date_type=21&begin_date=1750953600&begin_date_format=2025-06-27T00%3A00%3A00%2B08%3A00
        String url = "https://compass.jinritemai.com/compass_api/content_live/author/live_detail/history_live" +
                "?is_asc=false&page_no=1&page_size=10" +
                "&date_type=21" +   //date_type=21是最近7天，23是最近30天
                "&begin_date=1750953600" +
                "&begin_date_format=2025-06-27T00%3A00%3A00%2B08%3A00" +
                "&index_selected=avg_watch_duration,pay_gmv,predict_commission,watch_ucnt,watch_cnt,pcu,incr_fans_cnt,fans_rate,pay_order_fans_rate,product_show_cnt,product_click_cnt,product_show_ucnt,product_click_ucnt,pay_product_cnt,pay_ucnt,refund_cnt,refund_ucnt,refund_gmv";
                //"&query_condition=%E5%85%A5%E5%A4%8F600%E5%8D%A1%E5%86%B2%E5%88%BA%E5%8F%AA%E5%9C%A8%E4%BB%8A%E5%A4%A9&_lid=149847544605&msToken=X22z8f5BMG9aLzQs8jlucnVCGptCA_DS50_2nVF59czzI5FsMP0baWSEUx4-YwNhgSgwzk7I8gl6dMjkJSzUSavga0d0X3TCvQ9hhO8MkF2uBCGmAKzRbg%3D%3D&a_bogus=YJRMQm0fmDDTXDLv5fVLfY3qIpH3Y0od0cODMDZuuxvJuL39HMY79exYhcTvAPgjxG%2FZIeYjy4hjYpFMx5dyA3vRHuDKUIcpmDSkKl5Q5xSSs1Xce6UgrUkq-hsACFrQsv1lxOfkw7CtSY8hWxAJ5kIlO62-zo0%2F9VR%3D&verifyFp=verify_mc0atnfs_eTyV01Xn_JJ3J_4BKc_Be35_w1wQ6wDnqa3k&fp=verify_mc0atnfs_eTyV01Xn_JJ3J_4BKc_Be35_w1wQ6wDnqa3k";
        JSONObject result = HttpUtils.doGet(url, getHeader());
        JSONObject data = result.getJSONObject("data");
        JSONArray data_result = data.getJSONArray("data_result");
        for (int i = 0; i < data_result.size(); i++) {
            JSONObject item = data_result.getJSONObject(i);
            System.out.println(item);
            //{"pay_ucnt":"1088","refund_gmv":"¥66,590.55","pcu":"872","product_click_cnt":"2.00万","pay_order_fans_rate":"82.90%","watch_ucnt":"1.88万","refund_cnt":"288","avg_watch_duration":"1分23秒","pay_gmv":"¥260,540.31","live_room":"入夏600卡冲刺只在今天！！","cover_img_uri":"https://p3-compass-sign.byteimg.com/webcast-cover/7368355944486718218~tplv-r3822kbksp-image.image?lk3s=c23a45d5&x-expires=1750239587&x-signature=744%2BVlFWUW5zla6HpwixgqMBraY%3D","fans_rate":"66.87%","start_time":{"start_time":"2025/06/16 19:35","live_duration":"1小时34分40秒"},"watch_cnt":"2.68万","product_show_ucnt":"1.67万","product_show_cnt":"33.41万","refund_ucnt":"252","predict_commission":"¥58,444.29","pay_product_cnt":"1459","incr_fans_cnt":"99","operation":{"show_big_screen":true,"live_id":"7516509244490074890","show_detail":true,"live_app_id":1128},"product_click_ucnt":"6224"}
            //{"pay_ucnt":"801","refund_gmv":"¥29,036.46","pcu":"1549","product_click_cnt":"1.65万","pay_order_fans_rate":"78.15%","watch_ucnt":"1.72万","refund_cnt":"160","avg_watch_duration":"1分21秒","pay_gmv":"¥141,488.97","live_room":"入夏600卡冲刺只在今天！！","cover_img_uri":"https://p3-compass-sign.byteimg.com/webcast-cover/7368355944486718218~tplv-r3822kbksp-image.image?lk3s=c23a45d5&x-expires=1750239587&x-signature=744%2BVlFWUW5zla6HpwixgqMBraY%3D","fans_rate":"63.02%","start_time":{"start_time":"2025/06/16 16:16","live_duration":"1小时53分52秒"},"watch_cnt":"2.34万","product_show_ucnt":"1.58万","product_show_cnt":"29.55万","refund_ucnt":"139","predict_commission":"¥31,629.49","pay_product_cnt":"1066","incr_fans_cnt":"74","operation":{"show_big_screen":true,"live_id":"7516457966283803427","show_detail":true,"live_app_id":1128},"product_click_ucnt":"5535"}
            //{"pay_ucnt":"2321","refund_gmv":"¥148,915.76","pcu":"1140","product_click_cnt":"5.97万","pay_order_fans_rate":"86.21%","watch_ucnt":"3.67万","refund_cnt":"587","avg_watch_duration":"2分17秒","pay_gmv":"¥681,632.03","live_room":"入夏600卡冲刺只在今天！！","cover_img_uri":"https://p3-compass-sign.byteimg.com/webcast-cover/7368355944486718218~tplv-r3822kbksp-image.image?lk3s=c23a45d5&x-expires=1750239587&x-signature=744%2BVlFWUW5zla6HpwixgqMBraY%3D","fans_rate":"71.02%","start_time":{"start_time":"2025/06/16 11:05","live_duration":"4小时13分40秒"},"watch_cnt":"6.07万","product_show_ucnt":"3.44万","product_show_cnt":"99.53万","refund_ucnt":"489","predict_commission":"¥155,779.36","pay_product_cnt":"3290","incr_fans_cnt":"203","operation":{"show_big_screen":true,"live_id":"7516377816141712154","show_detail":true,"live_app_id":1128},"product_click_ucnt":"1.48万"}
            JSONObject time = item.getJSONObject("start_time");
            JSONObject operation = item.getJSONObject("operation");

            String cover_img_uri = item.getStr("cover_img_uri");//直播间封面
            System.out.println("直播间封面: " + cover_img_uri);

            String live_room = item.getStr("live_room");//直播间标题
            System.out.println("直播间标题: " + live_room);

            Date start_time = time.getDate("start_time");//直播开始时间
            System.out.println("直播开始时间: " + start_time);

            String live_duration = time.getStr("live_duration");//直播时长4小时13分40秒
            System.out.println("直播时长: " + live_duration);

            String avg_watch_duration = item.getStr("avg_watch_duration");//人均观看时长:"1分23秒"
            System.out.println("人均观看时长: " + avg_watch_duration);

            String live_id = operation.getStr("live_id");//直播房间ID
            System.out.println("直播房间ID: " + live_id);

            String pay_gmv = item.getStr("pay_gmv");//成交金额：¥260,540.31
            System.out.println("成交金额: " + pay_gmv);

            String predict_commission = item.getStr("predict_commission");//预估佣金收入
            System.out.println("预估佣金收入: " + predict_commission);

            String watch_ucnt = item.getStr("watch_ucnt");//直播间观看人数:"3.67万"
            System.out.println("直播间观看人数: " + watch_ucnt);

            String watch_cnt = item.getStr("watch_cnt");//直播间观看人次
            System.out.println("直播间观看人次: " + watch_cnt);

            String pcu = item.getStr("pcu");//最高在线人数
            System.out.println("最高在线人数: " + pcu);

            String incr_fans_cnt = item.getStr("incr_fans_cnt");//新增粉丝数
            System.out.println("新增粉丝数: " + incr_fans_cnt);

            String fans_rate = item.getStr("fans_rate");//看播粉丝占比
            System.out.println("看播粉丝占比: " + fans_rate);

            String pay_order_fans_rate =item.getStr("pay_order_fans_rate");//成交粉丝占比
            System.out.println("成交粉丝占比: " + pay_order_fans_rate);

            String product_show_cnt = item.getStr("product_show_cnt");//直播间商品曝光次数
            System.out.println("直播间商品曝光次数: " + product_show_cnt);

            String product_click_cnt = item.getStr("product_click_cnt"); //直播间商品点击次数
            System.out.println("直播间商品点击次数: " + product_click_cnt);

            String product_show_ucnt = item.getStr("product_show_ucnt");//直播间商品曝光人数
            System.out.println("直播间商品曝光人数: " + product_show_ucnt);

            String product_click_ucnt = item.getStr("product_click_ucnt");//直播间商品点击人数
            System.out.println("直播间商品点击人数: " + product_click_ucnt);

            String pay_product_cnt = item.getStr("pay_product_cnt");//直播间成交件数
            System.out.println("直播间成交件数: " + pay_product_cnt);

            String pay_ucnt = item.getStr("pay_ucnt");//直播间成交人数
            System.out.println("直播间成交人数: " + pay_ucnt);

            String refund_cnt = item.getStr("refund_cnt");//直播间退款订单数
            System.out.println("直播间退款订单数: " + refund_cnt);

            String refund_ucnt = item.getStr("refund_ucnt");//直播间订单退款人数
            System.out.println("直播间订单退款人数: " + refund_ucnt);

            String refund_gmv = item.getStr("refund_gmv");//直播间退款金额
            System.out.println("直播间退款金额: " + refund_gmv);

            System.out.println("-------------------");
        }
    }

    //这个有分页-可以用下面的全部商品接口-会返回全部不分页
    private static void 商品讲解列表(String room_id){
        //直播（头部）》直播明细（菜单）》直播数据（操作）》商品-商品明细
        String url = "https://compass.jinritemai.com/compass_api/content_live/author/live_room_detail/products_list_detail?sort_field=pay_amt&is_asc=true&page_no=1&page_size=10" +
                "&live_room_id=7516509244490074890" +
                "&selected_index=explain_cnt%2Cpay_amt%2Cpay_combo_cnt%2Cgpm%2Cproduct_click_ucnt%2Cpay_deposit_pre_order_cnt%2Cproduct_show_click_ucnt_ratio%2Cproduct_click_pay_ucnt_ratio&_lid=119384048263&msToken=bvF6PBW0UAe-6cjyxVXKFJWDVW_vkejRnUp0cnXeUJEkDTbnQznIkEVjF6YvEkYAUYnrQPbyQwmi0VNO1F4RLChDMxw1uLTMKw0H1taPka9nlXKIPamDN4N63yMeWHc%3D&a_bogus=DvmMMVwhDEfpvDLh5fVLfY3qIkH3YmCJ0cODMDZu0nfjML39HMTw9exEhGwvtKWjxG%2FZIejjy4hbTpQZrQC981wf7Wsx%2F2CZsg00t-P2soDS53ijeyUgrUwi-hsASePQsv1IEQfkqwArFuRDl99cmhd-O6ZCcHhMHjDISpcG2ag%3D&verifyFp=verify_mc0atnfs_eTyV01Xn_JJ3J_4BKc_Be35_w1wQ6wDnqa3k&fp=verify_mc0atnfs_eTyV01Xn_JJ3J_4BKc_Be35_w1wQ6wDnqa3k";
        JSONObject result = HttpUtils.doGet(url, getHeader());
        JSONObject data = result.getJSONObject("data");
        JSONArray data_result = data.getJSONArray("data_result");
        for(int i=0; i<data_result.size(); i++){
            JSONObject item = data_result.getJSONObject(i);
            Integer explain_cnt = item.getInt("explain_cnt");
            if(explain_cnt > 0){
                String product_id = item.getStr("product_id");
                String product_name = item.getStr("product_name");
                String time = 商品讲解明细(product_id);
                System.out.println(product_id+"【"+product_name+"】"+time);
            }

        }
        //这个业务做了防爬机制，几分钟不要就会需要输验证码（滑块），返回以下错误
        //{"code":11001,"data":null,"msg":"当前网络不稳定，请稍后再试","st":11001}
    }

    private static void 全部商品(String room_id) {
        //直播（头部）》直播明细（菜单）》直播大屏（操作）》商品-全部商品
        //String url = "https://compass.jinritemai.com/compass_api/content_live/author/live_screen/product_list_after_live?index_selected=&data_range=0&room_id=7516509244490074890&_lid=175020678&verifyFp=verify_mc0atnfs_eTyV01Xn_JJ3J_4BKc_Be35_w1wQ6wDnqa3k&fp=verify_mc0atnfs_eTyV01Xn_JJ3J_4BKc_Be35_w1wQ6wDnqa3k&msToken=wQEEIsKsI1NXPQo2sqk82KbPcaLhwNYAOodwbm-KPMgoeKA-O5hf47Etk1rRXM8J4HF4VS2ugzEH5RhEDQPUiTWWXL6afuNUFtzAhUqrcZeBh4T49mtrL9Q7iM7Y4wY%3D&a_bogus=x7mhBDhkDDfikfLk5fVLfY3qIh13YDO30cSlMDZufd3G7L39HMTH9exohazvZFRjxG%2FZIeEjy4hbYrOBrQC981wf7Wsx%2F2CZsg00t-P2so0j53intL6mE0hN5kb3SFlm5XNAEOJ0y75bFYs0Wo9HmhK4bfebY7Y6i6trLf%3D%3D";
        String url = "https://compass.jinritemai.com/compass_api/content_live/author/live_screen/product_list_after_live?index_selected=&data_range=0&room_id=7516509244490074890";
        JSONObject result = HttpUtils.doGet(url, getHeader());
        JSONObject data = result.getJSONObject("data");
        JSONArray data_result = data.getJSONArray("data_result");
        System.out.println(data_result.size());
        for(int i=0; i<data_result.size(); i++){
            JSONObject item = data_result.getJSONObject(i);
            JSONObject explain_cnt = item.getJSONObject("explain_cnt");
            Integer explain_cnt_value = explain_cnt.getInt("value");
            if(explain_cnt_value > 0){
                String product_id = item.getStr("product_id");
                String product_name = item.getStr("title");
                String time = 商品讲解明细(product_id);
                System.out.println(product_id+"【"+product_name+"】"+time);
            }

        }
    }

    //直播（头部）》直播明细（菜单）》直播大屏（操作）》商品-全部商品》直播大屏（操作）
    private static String 商品讲解明细(String product_id){
        String url = "https://compass.jinritemai.com/compass_api/content_live/author/live_screen/product_explain_detail" +
                "?room_id=7516509244490074890" +
                //"&product_id=3757652885962359077" +
                "&product_id=" + product_id
                ;//+"&show_feature=true&without_explain_duration=false&_lid=175014153&verifyFp=verify_mc0atnfs_eTyV01Xn_JJ3J_4BKc_Be35_w1wQ6wDnqa3k&fp=verify_mc0atnfs_eTyV01Xn_JJ3J_4BKc_Be35_w1wQ6wDnqa3k&msToken=1aq8FRHNVK-X7-caRZ60CqJDODyzYTuGulycktUoHe1Y7z30w4baMuZMCTKzhf3381w76Gw9NRlcWxuscL0N54aMo1410RxgufXBj7nXfMeFqHABCT_5rQ%3D%3D&a_bogus=Q6RZMQugdEVskDu65loLfY3qIhp3Y0Lq0cSlMDZuzxvJu639HMOj9exYcEtvAVyjxG%2FZIeEjy4hbYNnZrQC981wf7Wsx%2F2CZsg00t-P2so0j53intL6mE0hN5kb3SFlm5XNAEOJ0y75GKmG0Wo9HmhK4bfebY7Y6i6trQj%3D%3D";
        JSONObject result = HttpUtils.doGet(url, getHeader());
        JSONObject data = result.getJSONObject("data");
        System.out.println(data);
        JSONObject explain_duration = data.getJSONObject("explain_duration");
        Integer time = explain_duration.getInt("value");//单位是秒
        Integer hour = time/3600;
        Integer minute = (time%3600)/60;
        Integer second = (time%3600)%60;
        return hour+"小时"+minute+"分"+second+"秒";
    }

    private static Map<String,String> getHeader(){
        Map<String,String> header = new HashMap<String,String>();
        //鹿鹿
        //header.put("cookie","passport_csrf_token=80bc6b4bd806f7e785d9da4e04968e23; passport_csrf_token_default=80bc6b4bd806f7e785d9da4e04968e23; ttcid=dd25face8c694b2bb2a7d2301190977b13; tt_scid=C-5EbDa2cm1CIUH6fvwpw3DRKMeGJkKPE9wlUB2oGx9AD7o4keeZEoIrV9aFtL.01613; uid_tt=3f7c000e9e31851ef4a9487b3c0b6d7f; uid_tt_ss=3f7c000e9e31851ef4a9487b3c0b6d7f; sid_tt=eba59a4120803afcb5a9486e7eca7bb8; sessionid=eba59a4120803afcb5a9486e7eca7bb8; sessionid_ss=eba59a4120803afcb5a9486e7eca7bb8; is_staff_user=false; ucas_c0_compass=CkEKBTEuMC4wELOIi_77gMyoaBi9LyDeisC2pI2oBCiPETCtsvCzlfSbBkCL4MTCBkiLlIHFBlCIvKTI36yX0mBYfhIU2OZSkF2FtdacVQVNRhsk_Un3twU; ucas_c0_ss_compass=CkEKBTEuMC4wELOIi_77gMyoaBi9LyDeisC2pI2oBCiPETCtsvCzlfSbBkCL4MTCBkiLlIHFBlCIvKTI36yX0mBYfhIU2OZSkF2FtdacVQVNRhsk_Un3twU; sid_guard=eba59a4120803afcb5a9486e7eca7bb8%7C1750151179%7C5184000%7CSat%2C+16-Aug-2025+09%3A06%3A19+GMT; sid_ucp_v1=1.0.0-KGEzZTA5ZTRkYzFlNDc4MmFmMTYxZWIxN2E5YjcxYzZlODFjMDNmZTAKFgitsvCzlfSbBhCL4MTCBhiPETgIQCYaAmxmIiBlYmE1OWE0MTIwODAzYWZjYjVhOTQ4NmU3ZWNhN2JiOA; ssid_ucp_v1=1.0.0-KGEzZTA5ZTRkYzFlNDc4MmFmMTYxZWIxN2E5YjcxYzZlODFjMDNmZTAKFgitsvCzlfSbBhCL4MTCBhiPETgIQCYaAmxmIiBlYmE1OWE0MTIwODAzYWZjYjVhOTQ4NmU3ZWNhN2JiOA; LUOPAN_DT=session_7516840090107232564; COMPASS_LUOPAN_DT=session_7516840090107232564; gf_part_3052577=4; s_v_web_id=verify_mc0atnfs_eTyV01Xn_JJ3J_4BKc_Be35_w1wQ6wDnqa3k; csrf_session_id=a2809e2c0f589d8906d4623e8fea5970");
        header.put("cookie","passport_csrf_token=80bc6b4bd806f7e785d9da4e04968e23; passport_csrf_token_default=80bc6b4bd806f7e785d9da4e04968e23; ttcid=dd25face8c694b2bb2a7d2301190977b13; tt_scid=C-5EbDa2cm1CIUH6fvwpw3DRKMeGJkKPE9wlUB2oGx9AD7o4keeZEoIrV9aFtL.01613; uid_tt=3f7c000e9e31851ef4a9487b3c0b6d7f; uid_tt_ss=3f7c000e9e31851ef4a9487b3c0b6d7f; sid_tt=eba59a4120803afcb5a9486e7eca7bb8; sessionid=eba59a4120803afcb5a9486e7eca7bb8; sessionid_ss=eba59a4120803afcb5a9486e7eca7bb8; is_staff_user=false; ucas_c0_compass=CkEKBTEuMC4wELOIi_77gMyoaBi9LyDeisC2pI2oBCiPETCtsvCzlfSbBkCL4MTCBkiLlIHFBlCIvKTI36yX0mBYfhIU2OZSkF2FtdacVQVNRhsk_Un3twU; ucas_c0_ss_compass=CkEKBTEuMC4wELOIi_77gMyoaBi9LyDeisC2pI2oBCiPETCtsvCzlfSbBkCL4MTCBkiLlIHFBlCIvKTI36yX0mBYfhIU2OZSkF2FtdacVQVNRhsk_Un3twU; sid_guard=eba59a4120803afcb5a9486e7eca7bb8%7C1750151179%7C5184000%7CSat%2C+16-Aug-2025+09%3A06%3A19+GMT; sid_ucp_v1=1.0.0-KGEzZTA5ZTRkYzFlNDc4MmFmMTYxZWIxN2E5YjcxYzZlODFjMDNmZTAKFgitsvCzlfSbBhCL4MTCBhiPETgIQCYaAmxmIiBlYmE1OWE0MTIwODAzYWZjYjVhOTQ4NmU3ZWNhN2JiOA; ssid_ucp_v1=1.0.0-KGEzZTA5ZTRkYzFlNDc4MmFmMTYxZWIxN2E5YjcxYzZlODFjMDNmZTAKFgitsvCzlfSbBhCL4MTCBhiPETgIQCYaAmxmIiBlYmE1OWE0MTIwODAzYWZjYjVhOTQ4NmU3ZWNhN2JiOA; LUOPAN_DT=session_7516840090107232564; COMPASS_LUOPAN_DT=session_7516840090107232564; gf_part_3052577=4; s_v_web_id=verify_mc0atnfs_eTyV01Xn_JJ3J_4BKc_Be35_w1wQ6wDnqa3k; csrf_session_id=a2809e2c0f589d8906d4623e8fea5970");
        //passport_csrf_token=80bc6b4bd806f7e785d9da4e04968e23; passport_csrf_token_default=80bc6b4bd806f7e785d9da4e04968e23; uid_tt=3f7c000e9e31851ef4a9487b3c0b6d7f; uid_tt_ss=3f7c000e9e31851ef4a9487b3c0b6d7f; sid_tt=eba59a4120803afcb5a9486e7eca7bb8; sessionid=eba59a4120803afcb5a9486e7eca7bb8; sessionid_ss=eba59a4120803afcb5a9486e7eca7bb8; is_staff_user=false; ucas_c0_compass=CkEKBTEuMC4wELOIi_77gMyoaBi9LyDeisC2pI2oBCiPETCtsvCzlfSbBkCL4MTCBkiLlIHFBlCIvKTI36yX0mBYfhIU2OZSkF2FtdacVQVNRhsk_Un3twU; ucas_c0_ss_compass=CkEKBTEuMC4wELOIi_77gMyoaBi9LyDeisC2pI2oBCiPETCtsvCzlfSbBkCL4MTCBkiLlIHFBlCIvKTI36yX0mBYfhIU2OZSkF2FtdacVQVNRhsk_Un3twU; sid_guard=eba59a4120803afcb5a9486e7eca7bb8%7C1750151179%7C5184000%7CSat%2C+16-Aug-2025+09%3A06%3A19+GMT; sid_ucp_v1=1.0.0-KGEzZTA5ZTRkYzFlNDc4MmFmMTYxZWIxN2E5YjcxYzZlODFjMDNmZTAKFgitsvCzlfSbBhCL4MTCBhiPETgIQCYaAmxmIiBlYmE1OWE0MTIwODAzYWZjYjVhOTQ4NmU3ZWNhN2JiOA; ssid_ucp_v1=1.0.0-KGEzZTA5ZTRkYzFlNDc4MmFmMTYxZWIxN2E5YjcxYzZlODFjMDNmZTAKFgitsvCzlfSbBhCL4MTCBhiPETgIQCYaAmxmIiBlYmE1OWE0MTIwODAzYWZjYjVhOTQ4NmU3ZWNhN2JiOA; LUOPAN_DT=session_7516840090107232564; COMPASS_LUOPAN_DT=session_7516840090107232564; s_v_web_id=verify_mc0atnfs_eTyV01Xn_JJ3J_4BKc_Be35_w1wQ6wDnqa3k; csrf_session_id=a2809e2c0f589d8906d4623e8fea5970
        //惠子
        //header.put("cookie","passport_csrf_token=d81fad2770be199a723d100d97ca1b2b; passport_csrf_token_default=d81fad2770be199a723d100d97ca1b2b; is_staff_user=false; s_v_web_id=verify_mb07hr03_M2mcR2kp_Xnnh_4Dwn_8leV_cgLaPqoIUJKf; Hm_lvt_b6520b076191ab4b36812da4c90f7a5e=1748404016; ttwid=1%7CFiYchcJE1siffDWNetT3GQDumcb5UeHx9g7_mIKerQg%7C1749706182%7Cd298f7dbcd537b927936a8d7762ef4a983afd482230294c13fdd70384ce57648; uid_tt=faecb8cf6eb90dca4c6c038c36699355; uid_tt_ss=faecb8cf6eb90dca4c6c038c36699355; sid_tt=216ca4476dea1e32ae60648ffc37ac52; sessionid=216ca4476dea1e32ae60648ffc37ac52; sessionid_ss=216ca4476dea1e32ae60648ffc37ac52; odin_tt=5b9151fc9e7cf51a2806a6c95f6d28b80f84d76ed99965e47a7fbe79c3e4f449dc55c7abad36871615e15aef9c5c60ac35969011ee43efb7755df0b64c48634f; BUYIN_SASID=SID2_7514928668516827433; ucas_c0_compass=CkAKBTEuMC4wEI-IhO753JulaBi9LyCM46D6_I1cKI8RMOepkO-IjYgBQOvdqcIGSOuR5sQGUKO8wezjtbP-YFh-EhS2ItKqXnl9FJ8cDzZvisEQqYkCNg; ucas_c0_ss_compass=CkAKBTEuMC4wEI-IhO753JulaBi9LyCM46D6_I1cKI8RMOepkO-IjYgBQOvdqcIGSOuR5sQGUKO8wezjtbP-YFh-EhS2ItKqXnl9FJ8cDzZvisEQqYkCNg; sid_guard=216ca4476dea1e32ae60648ffc37ac52%7C1749708523%7C5184000%7CMon%2C+11-Aug-2025+06%3A08%3A43+GMT; sid_ucp_v1=1.0.0-KGYwMDdlNjAxNjYyN2FlMWJhNDk0Zjc2MmQ5NThlMjE1MDgxNzZlNzAKGAjnqZDviI2IARDr3anCBhiPESAMOAhAJhoCbHEiIDIxNmNhNDQ3NmRlYTFlMzJhZTYwNjQ4ZmZjMzdhYzUy; ssid_ucp_v1=1.0.0-KGYwMDdlNjAxNjYyN2FlMWJhNDk0Zjc2MmQ5NThlMjE1MDgxNzZlNzAKGAjnqZDviI2IARDr3anCBhiPESAMOAhAJhoCbHEiIDIxNmNhNDQ3NmRlYTFlMzJhZTYwNjQ4ZmZjMzdhYzUy; LUOPAN_DT=session_7514939399361118491; COMPASS_LUOPAN_DT=session_7514939399361118491; csrf_session_id=d9065a46db8cf27f12567f0a128e1603");
        return header;
    }
}
